﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HigLabo.Net.Twitter
{
    /// <summary>
    /// 
    /// </summary>
    public class GetRetweetCommand : TwitterCommand
    {
        /// <summary>
        /// 
        /// </summary>
        public Int64 ID { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public Boolean TrimUser { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public Boolean IncludeMyTetweet { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public Boolean IncludeEntities { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public GetRetweetCommand(Int64 id)
        {
            this.ID = id;
        }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        protected override IDictionary<string, string> CreateParameters()
        {
            Dictionary<String, String> d = new Dictionary<string, string>();
            d["id"] = this.ID.ToString();
            d["trim_user"] = this.TrimUser.ToString().ToLower();
            d["include_my_retweet"] = this.IncludeMyTetweet.ToString().ToLower();
            d["include_entities"] = this.IncludeEntities.ToString().ToLower();
            return d;
        }
    }
}
